We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { GetServerSideProps } from "next";
import { withAuthenticatedPage } from "lib/withAuthenticatedPage";
export const getServerSideProps: GetServerSideProps = async ({ params }) => {
const team = params?.team;
const project = params?.project;
if (typeof team !== "string" || typeof project !== "string") {
throw new Error("Invalid team or project");
}
return {
redirect: {
destination: `/t/${team}/settings/usage?projectSlug=${encodeURIComponent(project)}`,
permanent: false,
},
};
};
function RedirectToTeamUsage() {
return null;
}
export default withAuthenticatedPage(RedirectToTeamUsage);